package com.auth.domain.module.po.authmanage;

import com.auth.domain.module.po.base.BasePo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 角色权限表
 * </p>
 *
 * @author cyj
 * @since 2020-10-20
 */
@TableName("tt_auth")
@Accessors(chain = true)
@Data
public class Auth extends BasePo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("权限id")
    private Long id;

    /**
     * 权限
     */
    @ApiModelProperty("权限名称")
    private String auth;
}
